The Moving Median is a central tendency which is calculated over a sliding window of price bars or indicator values. The median is the numeric value separating the higher from the lower half of the data set built from the input series over the selected window.
The moving median is a non-linear FIR (finite impulse response) filter that can be used like a moving average. Compared to all standard moving averages, it is a more robust central tendency, because it is less sensitive to outliers.
The moving median over a lookback period N is calculated by writing the last N values of the input series to an array, sorting the array and selecting the middle value of that array.
The Range Weighted Moving Average (RWMA) is weighted moving average which uses the square of the range of the bar as weighting factor. The exact formula for the weighting factor has the bar range replaced with the number of tick levels covered by the bar.
Volatility is driven by volume and is approximately proportional to the square root of volume. Therefore it is possible to use the squared range as a proxy for volume. This is interesting when genuine volume figures are not available. This would be the case
- for FOREX data that comes without historical backfill for volume
- for instruments that are driven by other markets outside of the regular session
In these cases the VWMA may be distorted, whereas the RWMA will still return proper results.
The Opening Range is the range obtained from the highest and lowest price of a security during the first minutes of daily trading activity. For example the opening range can be calculated from the first 5, 15 or 30 minutes.
The opening period can be selected via the time zone, the start time and the end time of the opening period. For example if you wish to display a 30-minute opening range for ES, you would select Exchange_Time or US_Central_Standard_Time, a start time of 8:30 AM and an end time of 9:00 AM. The indicator will then display the regular open and the opening range high, low and midline.
You may also use this indicator to display the pre-session range. It is possible to display the entire pre-session range that covers the period from the start of the trading day until the regular open, or you may select a custom period for the pre-session.
The indicator will only return an accurate opening range, if it is calculated from minute bars that align to the start time and end time of the selected opening period. For example, if you wish to display an accurate 30-minute opening range for ES, you may only apply the indicator to 1-min, 2-min, 3-min, 5-min, 10-min, 15-min or 30-min bars. When selecting other bar periods or bar types, there will be overlapping bars in the beginning and the end of the opening period. This may result in a slightly inaccurate opening range.
If you wish to display a correct opening range on any bar type, please proceed as follows:
- Add a secondary bar series of 1-min*) bar to your primary price panel.
- Set the colors for candle outllines, candle wicks, up and down bars to transparent.
- Apply the indicator to the secondary 1-minute bars for an exact calculation.
*) When you add a minute bar series to a tick or volume chart, this will slightly distort the chart, as the bar spacing is adjusted to the duration of the bars. As a consequence of the law of large numbers, the distortion will be smaller, if you add a secondary bar series with a lower resolution. It is therefore recommended to use the highest bar period available that aligns to the start time and end time of the opening period. For a 30-min opening period for ES, you may therefore add 30-min bars instead of 1-min bars.
The chart attached shows the 30-min opening range on a 1000-tick chart to ES 12-17. The invisible secondary bars that were added are 30-min bars.
Update January 31, 2018: Version 2.1 did not properly calculate the opening range when the first bar of the opening range had a time stamp greater than the end time of the opening period (display of short period opening ranges on higher timeframe charts). Version 2.2 has the bug removed.
This is a four element Adaptive Laguerre Filter as described by John Ehlers in his paper "Time Warp - Without Space Travel".
The Laguerre Filter is a smoothing filter based on Laguerre polynomials. Its first term is an EMA, which is then further smoothened with a damping factor. The damping factor may take any value between 0 and 1. When the damping factor is set to 0, the Laguerre Filter becomes a finite impulse response (FIR) filter. When the damping factor is set to a value close to 1, the filter becomes dramatically smoother, but will have a significant lag.
The Adaptive Laguerre Filter is based on the simple Laguerre Filter, but uses a variable damping factor. The damping factor is adjusted such that low frequency components are delayed more than high frequency components. The resulting filter is an adaptive moving average and can be compared to the Kaufman Adaptive Moving Average (KAMA) or the Variable Index Dynamic Average (VIDYA).
This is a four element Laguerre Filter as described by John Ehlers in his paper "Time Warp - Without Space Travel".
The Laguerre Filter is a smoothing filter based on Laguerre polynomials. Its first term is an EMA, which is then further smoothened with a damping factor. The damping factor may take any value between 0 and 1. When the damping factor is set to 0, the Laguerre Filter becomes a finite impulse response (FIR) filter. When the damping factor is set to a value close to 1, the filter becomes dramatically smoother, but will have a significant lag.
The indicator that can be downloaded here is a four element Laguerre Filter. I have replaced the damping factor with a synthetic lookback period which allows for adjusting smoothness and lag. A lookback period of 1 corresponds to a simple 4-period triangular moving average.
LaguerreFilter(1) = TMA(4)
When the synthetic lookback period is increased, the filter becomes smoother but has a slower response to price changes.
The Traders Dynamic Index (TDI) is a trend following momentum indicator based on the RSI. It was developed and presented by Dean Malone. The Traders Dynamic Index comes with the following plots
- the Priceline, which is a SMA(2) of RSI(13)
- the Signalline, which is a SMA(7) of RSI (13)
- the Midband, which is a SMA(34) of RSI (13)
- Bollinger Bands around the SMA(34) using a standard deviation multiplier of 1.62
The following combinations may be considered as trade rules:
- go long, if Priceline > 50
- go short if Priceline < 50
- consider an exit, if Priceline is above 68 or below 32
- go long if Priceline > Signalline
- go short if Priceline < Signalline
- exit if Priceline crosses Signalline
- trendfilter long, when Priceline > Midband
- trendfilter short, when Priceline < Midband
- add to long, when Priceline > upper Bollinger Band
- add to short, when Priceline < lower Bollinger Band
Detailed rules how to use the Traders Dynamic Index have been published by Dean Malone within the framework of the E.A.S.Y. trading method.
You may set the number of poles in the filter to 1,2,3 or 4. A 1-pole filter will have a better approximation to price, whereas the 4-pole filter has superior smoothing.
To emulate the original Gaussian filter presented by John F. Ehlers, please select the PriceType "Median" as Input Series.
The N-Monthly VWAP is the volume-weighted average price (VWAP) of a security for the selected N-month period. The VWAP gives a fair reflection of the market conditions throughout the selected period and is one of the most popular benchmarks used by large traders.
The N-Monthly VWAP can be set to calculate for the entireperiod or it can be set to calculate for custom hours such as the regular session only. The VWAP further comes with volume-weighted standard deviation bands or quarter range bands. Although the VWAP uses volume information, it is best set to “Calculate” = “On price change”. It is not necessary to recalculate it with each incoming tick.
Trading hours template: The trading hours template should be set to <instrument settings> or any other trading hours template that reflects the contractual trading hours of the instrument.
Full_Session: The VWAP will be calculated for the full session as selected per trading hours template.
Custom_Hours: You may select custom hours for calculating the VWAP in different time zones.
Standard_Deviation: The volatility bands are calculated as a selectable multiple of the standard deviation, where the standard deviation is calculated for the selected session and week.
Quarter_Range: The volatility bands are calculated as a selectable multiple of the quarter range for the current month.
Accuracy: The indicator calculates both VWAP and volatility bands from the primary bars shown on the chart. All data points of each bar are used for the calculation in order to obtain the best possible result. However, accuracy also depends on the chart resolution. Accuracy increases as trading volume accumulates.
The Current Month VWAP is the volume-weighted average price (VWAP) of a security for the current month. The VWAP gives a fair reflection of the market conditions throughout the trading month and is one of the most popular benchmarks used by large traders.
The Current Month VWAP can be set to calculate for the entire trading month or it can be set to calculate for custom hours such as the regular session only. The VWAP further comes with volume-weighted standard deviation bands or quarter range bands. Although the VWAP uses volume information, it is best set to “Calculate” = “On price change”. It is not necessary to recalculate it with each incoming tick.
Trading hours template: The trading hours template should be set to <instrument settings> or any other trading hours template that reflects the contractual trading hours of the instrument.
Full_Session: The VWAP will be calculated for the full session as selected per trading hours template.
Custom_Hours: You may select custom hours for calculating the VWAP in different time zones.
Standard_Deviation: The volatility bands are calculated as a selectable multiple of the standard deviation, where the standard deviation is calculated for the selected session and week.
Quarter_Range: The volatility bands are calculated as a selectable multiple of the quarter range for the current month.
Accuracy: The indicator calculates both VWAP and volatility bands from the primary bars shown on the chart. All data points of each bar are used for the calculation in order to obtain the best possible result. However, accuracy also depends on the chart resolution. Accuracy increases as trading volume accumulates.
October 25th, 2023 12:35 PM 90bideven Thanks so much...works really well.
April 3rd, 2023 03:44 PM Srq1
January 5th, 2023 04:12 PM OnTrak Downloaded and installed. Then added to my charts. After some adjustments to match my preferences, this indicator is eve
n better than I hoped. Thanks to person responsible!
November 25th, 2022 02:14 PM ballhaj Tanks for sharing
August 30th, 2022 01:19 AM scshourie Can we use this indicator to build a strategy in the Strategy Builder